@import "./reset.less";
@import "./公共样式.less";

@import "./购物车.less";

html {
  font-size: 15.625vw;
}

body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  font-size: 14px;
  font-family: -apple-system, "Helvetica", sans-serif;
  color: #666;
  /* line-height: 1.5px; */
  height: auto;
}

header {
  height: 63px;
  background-image: linear-gradient(to top, #ff8578, #ff6040, #ee4e2e);
  position: relative;
}

header span {
  padding-left: 20px;
  line-height: 30px;
  color: white;
}

header span:nth-child(1)::before {
  content: "\e69b";
  font-family: iconfont;
  display: inline-block;
  position: absolute;
  right: 15px;
}

header span:nth-child(2):after {
  content: "\e6b5";
  font-family: iconfont;
  display: inline-block;
  font-size: 18px;
}

.iconfont::before {
  padding-right: 5px;
}

.iconfont {
  position: absolute;
  right: 30px;
}

.title {
  display: flex;
  height: 50px;
  margin-top: 5px;
  position: relative;
}

.title .logo {
  background: url(../image/logo.png) no-repeat 38px 16px;
  background-size: 70%;
  width: 160px;
  overflow: hidden;
}

.position {
  display: inline-block;
  height: 100%;
  width: 30px;
}

.logo .position > img {
  width: 21px;
  padding: 17px 9px;
}

.logo1 {
  width: 98px;
  height: 29px;
  padding: 15px 16px;
}

.ipt {
  height: 34px;
  flex: 1;
  outline: none;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  margin-top: 12px;
  text-indent: 43px;
}

.base {
  position: absolute;
  height: 31px;
  width: 30px;
  left: 162px;
  top: 15px;
  background: url(../image/放大镜@2x.png) no-repeat 2px 2px;
  background-size: 80%;
}

.ipt::placeholder {
  font-size: 15px;
}

.store {
  display: inline-block;
  height: 100%;
  width: 40px;
  position: relative;
}

.store img {
  width: 28px;
  position: absolute;
  left: 18px;
  top: 14px;
}

nav {
  display: flex;
  height: 39px;
  /* background-color: rgba(3, 3, 3, .2); */
}

.navs li {
  list-style: none;
  float: left;
  line-height: 48px;
  font-size: 15px;
}

.navs {
  flex: 1;
  margin-top: 6px;
}
/* 
.navs li:nth-child(1) {
    margin-left: -30px;
} */

.navs li:hover a {
  border-bottom: 3px solid white;
  font-weight: 600;
  color: white;
}
/* .navs li {
    width: 100% / 6;
} 


/* @media screen and (max-width:) {
    
} */

.navs li {
  width: calc((100%-100px) / 6);
}

.navs li:nth-child(1) a {
  border-bottom: 3px solid white;
  font-weight: 600;
  color: white;
}

.navs li a {
  display: inline-block;
  height: 32.5px;
  padding: 0 10px;
  line-height: 32.5px;
  transition: all 0.3s;
  white-space: nowrap;
}

.fenlei {
  float: right;
  width: 100px;
  height: 39px;
  line-height: 39px;
  background: url(../image/组.png) no-repeat 12px 10px;
  background-size: 15%;
  margin-top: 10px;
  /* border-left: 1px solid #f67065; */
  box-shadow: -2px 0 #f67065;
}

.fenlei a {
  padding-left: 43px;
}

article {
  margin: 10px 10px;
  height: 223px;
  width: 95%;
  background: url(../image/圆角矩形.png) no-repeat -1px -3px;
  background-size: 100% 110%;
  border-radius: 15px;
  box-shadow: 0 10px 10px 0;
}

section {
  display: flex;
  height: 80px;
  margin: 24px -2px 3px -12px;
}

.neirong {
  flex: 1;
  line-height: 20px;
  text-align: center;
  display: flex;
}

section span a img {
  width: 41px;
  height: 41px;
  margin-left: 15px;
}

section span a span {
  display: inline-block;
  color: #343434;
}

.aside {
  height: 175px;
  margin-top: 18px;
  display: flex;
  padding: 0 10px;
}

.left-aside {
  background: url(../image/花瓶.png) no-repeat -1px 0;
  background-size: 101% 100%;
  width: 50%;
  padding: 10px 15px 10px 10px;
  box-sizing: border-box;
  line-height: 30px;
}

.miaosha-hd h3 {
  float: left;
  font-family: PingFangSC-Semibold;
  font-size: 16px;
  color: #85a642;
}

.miaosha-hd a {
  color: #333333;
  font-size: 10px;
  float: right;
}

.miaosha-bd p {
  font-family: PingFangSC-Light;
  font-size: 10px;
  color: #b1cc7a;
  line-height: 10px;
}

.time {
  margin-top: 5px;
}

.miaosha-bd a {
  background-image: linear-gradient(#85a642, #b1cc7a);
  padding: 5px;
  border-radius: 3px;
  font-family: DINCondensed-Bold;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  line-height: 10px;
}

.right-aside {
  margin-left: 10px;
  width: 50%;
  flex: 1;
}

.right-aside .top {
  width: 100%;
  height: 50%;
  background: url(../image/品牌.png) no-repeat;
  background-size: 100%;
  padding: 10px 0 0 5px;
  box-sizing: border-box;
}

.top h3 {
  font-family: PingFangSC-Semibold;
  font-size: 16px;
  color: #ff6040;
  line-height: 14px;
}

.left-aside .miaosha-hd {
  height: 30px;
  margin-bottom: 5px;
}

.top-bd p {
  font-family: PingFangSC-Light;
  font-size: 10px;
  color: #ff9580;
  line-height: 24px;
}

.top-bd .fengqiang {
  width: 82px;
  background-image: linear-gradient(#ff6040, #ff9f80);
  height: 25px;
  display: inline-block;
  font-size: 10px;
  color: #ffffff;
  line-height: 25px;
  text-align: center;
  border-radius: 2px 12px 12px 2px;
}

.right-aside .bottom {
  box-sizing: border-box;
  padding: 10px 0 0 5px;
  height: 50%;
  background: url(../image/好物.png) no-repeat;
  background-size: 100%;
}

.banxin {
  background-color: #f2f2f2;
  width: 100%;
  height: auto;

  overflow: hidden;
}

.center-nav {
  margin: 10px 10px 0;
  display: flex;
  height: 43px;
  background-color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.center-nav .nav1 {
  flex: 1;
  font-size: 16px;
  color: #ff6040;
  font-weight: 500;
  padding-top: 10px;
}

.center-nav .nav2 {
  color: #999999;
  flex: 1;
  padding-top: 10px;
}

.center-navtwo {
  display: flex;
  margin: 0 10px;
  height: auto;
  background-color: white;
}

.center-navtwo a {
  font-size: 13px;
  flex: 1;
  margin: 0 2px;
  height: auto;
  text-align: center;
  line-height: 40px;
  background-color: white;
}

.center-navtwo a > img {
  margin-top: 20px;
  width: 100%;
}

.jingpin {
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #222222;
  position: relative;
  margin: 15px;
}

.jingpin::before,
.jingpin::after {
  content: "";
  display: block;
  width: 17px;
  height: 3px;
  position: absolute;
  background-color: #222222;
  top: 13px;
}

.jingpin::before {
  left: 36%;
}

.jingpin::after {
  right: 36%;
}

.zulijian {
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  height: auto;
  margin-bottom: 10px;
  /* background-color: rgb(5, 5, 5, .3); */
}

.zulijian span {
  flex: 1;
  border-radius: 15px;
}

.zulijian .leftbanner {
  margin-right: 10px;
  background-color: white;
}

.leftbanner img {
  width: 100%;
}

.leftbanner .bottombanner p {
  line-height: 20px !important;
  overflow: hidden;
}

.bottombanner {
  padding: 0 10px;
  position: relative;
}

.bottombanner::after {
  content: "...";
  position: absolute;
  font-size: 27px;
  right: 7px;
  bottom: 4px;
}

.bottombanner .p1 {
  color: #222222;
  font-size: 14px;
  margin-top: 5px;
}

.bottombanner .p2 {
  color: #7e7e7e;
  margin: 5px 0 5px;
}

.bottombanner .p3 .a1 {
  color: #ff6040;
  padding-right: 10px;
}

.bottombanner .p3 .a2 {
  text-decoration: line-through;
  color: #9e9e9e;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  height: 88px;
  background-color: white;
}

footer a {
  flex: 1;
  text-align: center;
}

footer img {
  height: 43px;
  margin: -6px 0 0 1px;
}

footer .wenz {
  display: block;
}

@media screen and (max-width: 640px) {
  footer {
    width: 100%;
  }
}

@media screen and (min-width: 641px) {
  footer {
    width: 80vw;
  }
}

.zulijian:last-of-type {
  margin-bottom: 110px;
}
header {
  display: flex;

  justify-content: flex-start;
  flex-direction: column;

  overflow: hidden;
  text-align: center;
  .headertext {
    color: white;
    font-size: 0.28rem;
    line-height: 0.6rem;
  }
}
.bottom {
  display: flex;
  justify-content: center;
  align-items: center;

  a {
    flex: 1;
    text-align: center;
    color: white;
  }
}
